package com.lsh.airticket.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @author lsh
 * @date 2021/2/19
 **/
@Data
public class RequestFlight {

    /** 执飞航班编号 */
    private String flightId;

    /** 执飞日期 */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date flightDate;

    /** 航班状态 */
    private String flightState;

    /** 航班信息 */
    private String flightInfo;

    /** 预计起飞时间 */
    private String preUpTime;

    /** 预计到达时间 */
    private String preDownTime;

    /** 飞机id */
    private Integer modelId;

    /** 飞机航线 */
    private Integer airrouteId;

    /** flightCreatetime */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date flightCreatetime;

    /** 出发城市id */
    private Integer fromCity;

    /** 终点城市id */
    private Integer toCity;
}
